Kubio\Core\Blocks\BlockBase A

Total Complexity 61
Dependencies 10
Dependents 0
Total lines 351
Lines of code 262
Logical lines of code 123
Comment lines 10
Methods 28
Properties 8

Methods 28

Method Rating Maintainability Complexity Lines of code
mapPropsToElementsWithDefaults()
A
48 9 36
toElement()
A
43 8 50
__construct()
S
51 3 30
findElementBy()
S
62 4 11
canRender()
S
62 4 10
render()
S
60 3 13
wrapperStyledComponent()
S
63 3 11
getBlockStyledElementsByName()
S
64 3 10
create()
S
66 2 9
getDefaultElement()
S
65 2 10
canRegisterStyle()
S
75 2 4
renderInnerBlocks()
S
69 2 7
getParentColibriContext()
S
79 1 3
getBlockInnerHtml()
S
75 1 4
mapDynamicStyleToElements()
S
82 1 3
getDynamicStyle()
S
81 1 3
registerStyle()
S
72 1 5
mapPropsToElements()
S
82 1 3
getStyledElementConfig()
S
78 1 3
elementClass()
S
79 1 3
createElement()
S
69 1 8
name()
S
82 1 3
kebabBlockName()
S
78 1 3
blockClass()
S
80 1 3
getWrapperElementName()
S
79 1 3
createFromJson()
S
75 1 4
getBlockSupport()
S
69 1 7
isSandboxRender()
S
79 1 3